/* 文章详情页特有样式 */

/* 主要内容区域 */
.main-content {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.articles {
    flex: 3;
}


/* 文章详情页样式 */
.article-detail {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.dark-mode .article-detail {
    background-color: var(--light);
}

.article-header {
    margin-bottom: 2rem;
}

.article-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.article-meta-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.article-image-detail {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    margin: 2rem 0 1rem;
    color: var(--primary);
}

.article-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background-color: var(--light-gray);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.dark-mode .article-content blockquote {
    background-color: #2a2a2a;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

/* 响应式设计 */
@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .article-image-detail {
        height: 250px;
    }
}